import { LOADING_TYPES, MODEL_TYPES } from 'web-loading'

export function useLoadingDefOptions() {
  return {
    html: '',
    type: LOADING_TYPES.DOM,
    extendClass: 'extend',
    model: MODEL_TYPES.GEAR,
    text: '加载中...',
    textGap: 8,
    fontSize: 12,
    fontFamily: 'Microsoft YaHei',
    delay: 65,
    notFeel: 0,
    delayInto: 320,
    optimization: false,
    zIndex: '2001',
    themeColor: 'rgba(64,158,255,1)',
    bgColor: 'rgba(0, 0, 0, 0.8)',
    shadowColor: 'rgba(64,158,255,0.6)',
    shadowOffsetX: 2,
    shadowOffsetY: 2,
    shadowBlur: 5,
    pointerEvents: false,
    toast: true
  }
}